from pydantic import BaseModel
from typing import Optional, List

class WPCollectionBase(BaseModel):
    """WaveUp藏品"""
    productId: str = ""
    productName: str = ""
    imageUrl: str = ""
    detailUrl: str = ""
    description: str = ""
    issueAuthor: str = ""
    issueAmount: int = 0
    archiveId: int = 0
    platformId: int = 0

class WPCollectionListQueryReq(BaseModel):
    """查询WaveUp藏品列表请求"""
    pageNo: int = 1
    pageSize: int = 100
    productIds: Optional[List[str]] = None

class WpCollectionCreate(WPCollectionBase):
    """创建WaveUp藏品"""
    pass

class WpCollectionOut(WPCollectionBase):
    """WaveUp藏品"""
    pass